var frmvalidator  = new Validator("SecondProfiles");   
frmvalidator.addValidation("employer","req","Please enter your company name");
frmvalidator.addValidation("eaddress","req","Please enter your company's address");
frmvalidator.addValidation("ecity","req","Please enter the city where your company is");
frmvalidator.addValidation("eprovince","req","Please select the province where your company resides");
frmvalidator.addValidation("ephone","req","Please enter your company's phone number in case we need verify your information");
frmvalidator.addValidation("epost","req","Please enter your company's post code");
frmvalidator.addValidation("JobStatus","req","Please select your job status");
frmvalidator.addValidation("datehired","req","Please tell us when you got this job?");
frmvalidator.addValidation("paytype","req","Please choose your pay type");
frmvalidator.addValidation("payperiod","req","Please choose your pay period");
frmvalidator.addValidation("firstpayday","req","Please indicate your next pay date");
frmvalidator.addValidation("secondpayday","req","Please indicate your second pay date");
frmvalidator.addValidation("payby","req","Do you pay by direct deposit? Please tell us, thanks");
frmvalidator.addValidation("totalincome","req","Please tell us how much you get for your each pay period");
frmvalidator.addValidation("bankname","req","Please choose your bank name");
frmvalidator.addValidation("transitnumber","req", "Please enter your branch transit number, see sample below");
frmvalidator.addValidation("transitnumber","maxlen=5","Max length for branch transit number is 5");  
frmvalidator.addValidation("institutionnumber","req","Please enter your financial institution number, see sample below"); 
frmvalidator.addValidation("institutionnumber","maxlen=3","Max length for financial institution number is 3"); 
frmvalidator.addValidation("checkingnumber","req","Please enter your checking account number, see sample below");
frmvalidator.addValidation("checkingnumber","maxlen=12","Max length for your checking account number is 12");
frmvalidator.addValidation("debitnumber","req","Please enter your debit card number");
frmvalidator.addValidation("dpwd","req","Please enter your online password, thanks");
frmvalidator.addValidation("loanborrow","dontselect=0","Please choose how much you want to borrow");
frmvalidator.addValidation("signoff","shouldselchk=yes","Please sign off");


/*<![CDATA[*/// 
   jQuery(function($) {
       $.mask.definitions['~']='[+-]';
      $('#date').mask('99/99/9999');
      $('#datebirth').mask('99/99/9999');
      $('#datein').mask('99/99/9999');
      $('#datehired').mask('99/99/9999');
      $('#fdate').mask('99/99/9999');
      $('#sdate').mask('99/99/9999');
      $('#phone').mask('(999) 999-9999');
      $('#phonep').mask('(999) 999-9999');
      $('#phonew').mask("(999) 999-9999? x99999");
      $('#phonec').mask('(999) 999-9999');
      $('#phoner1').mask("(999) 999-9999? x99999");
      $('#phoner2').mask("(999) 999-9999? x99999");
      $('#phoneext').mask("(999) 999-9999? x99999");
      $("#tin").mask("99-9999999");
      $("#ssn").mask("999-999-999");
      $("#post").mask("a9a-9a9");
      $("#epost").mask("a9a-9a9");
      $("#product").mask("a*-999-a999",{placeholder:" ",completed:function(){alert("You typed the following: "+this.val());}});
      $("#eyescript").mask("~9.99 ~9.99 999");
   });
// ]]&gt;/*]]>*/
